package com.example.demo;

public class ApiResponse<T> {

    public int statusCode;

    public String description;

    public T date;


    public ApiResponse (int statusCode, String description , T date){
        this.statusCode = statusCode;
        this.description = description;
        this.date = date;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public void setStatusCode(int statusCode) {
        this.statusCode = statusCode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public T getDate() {
        return date;
    }

    public void setDate(T date) {
        this.date = date;
    }
}
